ubg_health_get_type
Syntax:
ubg_health_get_type(id)
Arguments:
Argument Name | Type | Description |
---|---|---|
id | real | id of the healthbar to check |
Returns: (UBG_HEALTH_TYPE)
Description:
Returns the type of the healthbar as an enum. If the id specified is not a healthbar then this function will always return UBG_HEALTH_TYPE.unknown.
For healthbar results the available values are:
- UBG_HEALTH_TYPE.icon
- UBG_HEALTH_TYPE.bar
- UBG_HEALTH_TYPE.bar_round